/*
 * @Author: TC
 * @Date: 2025-06-20 15:45:02
 * @Last Modified by: TC
 * @Last Modified time: 2025-06-20 15:46:19
 */

import { _decorator } from "cc";
import { BattleCollider } from "../Collider/BattleCollider";
import { cBody } from "db://assets/FrameWork/Module/Collision/Body";
import { BulletBase } from "./BulletBase";

const { ccclass, property } = _decorator;

@ccclass
export class BulletCollider extends BattleCollider {
    private _bullet: BulletBase = null;
    onLoad(): void {
        super.onLoad();
        this._bullet = this.node.getComponent(BulletBase);
    }
    protected update(dt: number): void {
        this._drawColl();
    }
    protected onTriggerEnter(b: cBody): void {
        throw new Error("Method not implemented.");
    }
}
